home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17559 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: tank.news.pipex.net!pipex!oleane!usenet
  2. From: celnik@cril-ing.fr (Pierre Celnik.)
  3. Newsgroups: comp.os.ms-windows.programmer.tools.mfc,comp.lang.c++
  4. Subject: HELP: Integration of "Logical Layers" in a MFC prog
  5. Date: Tue, 16 Apr 1996 13:36:23 GMT
  6. Organization: Oleane - PIPEX Internatinal
  7. Message-ID: <4l0bo1$kuc@Helene.OLEANE.NET>
  8. NNTP-Posting-Host: capucine.cril-ing.fr
  9. X-Newsreader: Forte Free Agent 1.0.82
  10.  
  11.  
  12. Hello Folks
  13.  
  14. We are porting an AI application under VC++ 4.0 using MFC.
  15. In this application we explore different level of hypothesis(as a
  16. tree).
  17. In each level (i.e. Layer i) we have a view of all the objects which
  18. were known at Layer  i-1 plus modifications brought at level i.
  19.  
  20. We want to be able to build different  layers for the management of
  21. hypotheses.
  22.  
  23. How to do it in C++ using MFC
  24.  
  25. exemple
  26. Layer 0 we have :
  27. One object A with attributes A1 =10 and A2 = 20
  28.  
  29. We build a second layer  Layer 1
  30. We have the visibility of Layer 0 , we can see the object A with the
  31. values of the attributes A1 and A2 respectively 10 and 20.
  32. We set the value of A.A2 to 200
  33. In this layer the values of the attributes A1 and A2 are now
  34. respectively 10 and 200
  35.  
  36. and so on for ALL the objects in the application.
  37.  
  38. We wouldn't like to have all the objects duplicated but only the
  39. differential between layers.
  40. We want to be able to backtrack from one layer to a precedent one.
  41.  
  42. If someone knows how to  do it will  help us a lot.
  43. Thanks
  44.  
  45.  
  46. Pierre 
  47.  
  48.